dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f50275a
)
Fix bug caused by variable reuse from r71902
author
Max Semenik
<maxsem@users.mediawiki.org>
Tue, 2 Nov 2010 15:52:10 +0000
(15:52 +0000)
committer
Max Semenik
<maxsem@users.mediawiki.org>
Tue, 2 Nov 2010 15:52:10 +0000
(15:52 +0000)
includes/CategoryPage.php
patch
|
blob
|
history
diff --git
a/includes/CategoryPage.php
b/includes/CategoryPage.php
index
8213e6e
..
42e6ff4
100644
(file)
--- a/
includes/CategoryPage.php
+++ b/
includes/CategoryPage.php
@@
-587,8
+587,8
@@
class CategoryViewer {
# Check if there's a "from" or "until" for anything
$fromOrUntil = false;
- foreach ( array( 'page', 'subcat', 'file' ) as $t
ype
) {
- if ( $this->from[$t
ype] !== null || $this->until[$type
] !== null ) {
+ foreach ( array( 'page', 'subcat', 'file' ) as $t ) {
+ if ( $this->from[$t
] !== null || $this->until[$t
] !== null ) {
$fromOrUntil = true;
break;
}